package com.eascs.admin.o2o.backfee.trans;

import com.eascs.admin.o2o.backfee.entity.O2OComBackFee;
import com.eascs.admin.o2o.backfee.form.ComBackFeeForm;
import com.eascs.common.util.DateUtils;

public class O2oComBackFeeTransFormart {

	public static O2OComBackFee fromToFee(O2OComBackFee o2OComBackFee,ComBackFeeForm entity){
		
		o2OComBackFee.setBankAccount(entity.getBankAccount());
		o2OComBackFee.setBackType(entity.getBackType());
		o2OComBackFee.setBankAddr(entity.getBankAddr());
		o2OComBackFee.setBankName(entity.getBankName());
		o2OComBackFee.setRequiredDate(DateUtils.formateStandDate(entity.getRequiredDate()));
		o2OComBackFee.setLoanapplyNo(entity.getLoanapplyNo());
		o2OComBackFee.setPayType(entity.getPayType()); 
		o2OComBackFee.setPayRemark(entity.getPayRemark());
		o2OComBackFee.setPayMode(entity.getPayMode());
		o2OComBackFee.setBackManger(entity.getBackManger());
		o2OComBackFee.setBackRisk(entity.getBackRisk());
		o2OComBackFee.setBackDeposite(entity.getBackDeposite());
		return o2OComBackFee;
	}
}
